﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using WMSSoft.Lib.WinKStart.Abstract;

namespace WMSSoft.Lib.WinKStart.Model
{
    [Serializable()]
    public class WinKStartSettings : CModelBase
    {
        BehaviorSettings m_BehaviorSettings = null;
        StartButtonSettings m_StartButtonSettings = null;
        ContextMenuSettings m_ContextMenuSettings = null;

        public WinKStartSettings()
        {
            m_BehaviorSettings = new BehaviorSettings();
            m_StartButtonSettings = new StartButtonSettings();
            m_ContextMenuSettings = new ContextMenuSettings();
        }

        public BehaviorSettings Behavior
        {
            get { return m_BehaviorSettings; }
            set { 
                m_BehaviorSettings = value;
                OnPropertyChanged();
            }
        }

        public StartButtonSettings StartButton
        {
            get { return m_StartButtonSettings; }
            set { 
                m_StartButtonSettings = value;
                OnPropertyChanged();
            }
        }

        public ContextMenuSettings ContextMenu
        {
            get { return m_ContextMenuSettings; }
            set { 
                m_ContextMenuSettings = value;
                OnPropertyChanged();
            }
        }
    }
}
